#ifndef LISTHANDEL_H
#define LISTHANDEL_H

typedef void * HEAD;
typedef void * DATA;
typedef int (*operation)(DATA data,const void *arg);
HEAD initList(int DATASzie);
int addData(HEAD head,DATA data);
int delData(HEAD head,operation fun,const void *arg);
int repData(HEAD head,operation fun,const void *arg,const DATA Data);
int fidData(HEAD head,operation fun,const void *arg,DATA Data);
int outData(HEAD head,operation fun);
void freeList(HEAD head);

#endif // LISTHANDEL_H
